package jnpf.service;


import jnpf.model.ragFlow.common.RagFlowApiResult;
import jnpf.model.ragFlow.talkAssistant.ChatCreateReq;
import jnpf.model.ragFlow.talkAssistant.ChatDeleteReq;
import jnpf.model.ragFlow.talkAssistant.ChatUpdateReq;

public interface RagTalkAssistantService {
    /**
     * 创建聊天助手
     */
    RagFlowApiResult createChat(ChatCreateReq request) throws Exception;

    /**
     * 更新聊天助手
     */
    RagFlowApiResult updateChat(String chatId, ChatUpdateReq request) throws Exception;

    /**
     * 删除聊天助手
     */
    RagFlowApiResult deleteChat(ChatDeleteReq request) throws Exception;

    /**
     * 获取聊天助手列表
     */
    RagFlowApiResult listChats(Integer page, Integer pageSize, String orderby, Boolean desc, String name, String id) throws Exception;
}
